﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace TravelExpertsASP
{
    public class Customer
    {
        //encapsulated properties
        public int AgentId { get; set; }
        public string CustFirstName { get; set; }
        public string CustLastName { get; set; }
        public string CustAddress { get; set; }
        public string CustCity { get; set; }
        public string CustProv { get; set; }
        public string CustPostal { get; set; }
        public string CustCountry { get; set; }
        public string CustHomePhone { get; set; }
        public string CustBusPhone { get; set; }
        public string CustEmail { get; set; }
        //didn't include Agent ID as it's not required in the Web Application
        //not sure if we need password unless we can allow the user to change their password...think it's a good idea.
        public string CustPWord { get; set; }


        public override string ToString()
        {
            return string.Format("{0} {1} {2} {3} {4} {5} {6} {7} {8} {9} {10}", AgentId, CustFirstName,
                CustLastName, CustAddress, CustCity, CustProv, CustPostal, CustCountry, CustHomePhone, CustBusPhone,
                CustEmail);
        }
    }

    
}